cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ AAECC Innermost
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, x) → P(x)
COND(true, x) → EVEN(x)
EVEN(s(s(x))) → EVEN(x)
COND(true, x) → GR(x, 0)
COND(true, x) → AND(even(x), gr(x, 0))
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
GR(s(x), s(y)) → GR(x, y)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND(true, x) → P(x)
COND(true, x) → EVEN(x)
EVEN(s(s(x))) → EVEN(x)
COND(true, x) → GR(x, 0)
COND(true, x) → AND(even(x), gr(x, 0))
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
GR(s(x), s(y)) → GR(x, y)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
EVEN(s(s(x))) → EVEN(x)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
EVEN(s(s(x))) → EVEN(x)
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
EVEN(s(s(x))) → EVEN(x)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
cond(true, x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(0) → 0
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, 0) → COND(and(even(0), false), p(0))
COND(true, s(0)) → COND(and(false, gr(s(0), 0)), p(s(0)))
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
COND(true, s(0)) → COND(and(false, gr(s(0), 0)), p(s(0)))
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
COND(true, 0) → COND(and(even(0), false), p(0))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(0) → 0
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
COND(true, 0) → COND(and(even(0), false), p(0))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(0) → 0
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
COND(true, 0) → COND(and(even(0), false), p(0))
even(0) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
gr(0, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, 0) → COND(false, p(0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
COND(true, 0) → COND(false, p(0))
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
even(0) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
gr(0, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
even(0) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
gr(0, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
gr(0, x) → false
and(x, false) → false
and(true, true) → true
p(0) → 0
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
even(0)
even(s(0))
even(s(s(x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
COND(true, 0) → COND(and(true, gr(0, 0)), p(0))
gr(0, x) → false
and(x, false) → false
and(true, true) → true
p(0) → 0
and(x0, false)
and(false, x0)
and(true, true)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, 0) → COND(and(true, false), p(0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
COND(true, 0) → COND(and(true, false), p(0))
gr(0, x) → false
and(x, false) → false
and(true, true) → true
p(0) → 0
and(x0, false)
and(false, x0)
and(true, true)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
COND(true, s(0)) → COND(and(false, gr(s(0), 0)), p(s(0)))
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(0) → 0
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
COND(true, s(0)) → COND(and(false, gr(s(0), 0)), p(s(0)))
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, s(0)) → COND(false, p(s(0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, s(0)) → COND(false, p(s(0)))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, s(x0)) → COND(and(even(s(x0)), true), p(s(x0)))
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
COND(true, s(s(x0))) → COND(and(even(x0), gr(s(s(x0)), 0)), p(s(s(x0))))
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, s(s(x0))) → COND(and(even(x0), true), p(s(s(x0))))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
COND(true, s(s(x0))) → COND(and(even(x0), true), p(s(s(x0))))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(s(x), 0) → true
and(x, false) → false
and(false, x) → false
and(true, true) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, s(s(x0))) → COND(and(even(x0), true), p(s(s(x0))))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(s(0)) → false
even(s(s(x))) → even(x)
and(false, x) → false
and(true, true) → true
even(0) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
COND(true, s(s(x0))) → COND(and(even(x0), true), p(s(s(x0))))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(s(0)) → false
even(s(s(x))) → even(x)
and(false, x) → false
and(true, true) → true
even(0) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
p(0)
p(s(x0))
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(s(0)) → false
even(s(s(x))) → even(x)
and(false, x) → false
and(true, true) → true
even(0) → true
p(s(x)) → x
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(s(0)) → false
even(s(s(x))) → even(x)
even(0) → true
and(false, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
p(0)
p(s(x0))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
COND(true, s(x0)) → COND(and(even(s(x0)), true), x0)
even(s(0)) → false
even(s(s(x))) → even(x)
even(0) → true
and(false, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
COND(true, s(0)) → COND(and(false, true), 0)
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
COND(true, s(0)) → COND(and(false, true), 0)
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
even(s(0)) → false
even(s(s(x))) → even(x)
even(0) → true
and(false, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
COND(true, s(s(x0))) → COND(and(even(x0), true), s(x0))
even(s(0)) → false
even(s(s(x))) → even(x)
even(0) → true
and(false, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
COND(true, s(s(s(y_1)))) → COND(and(even(s(y_1)), true), s(s(y_1)))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ ForwardInstantiation
↳ QDP
↳ QDPSizeChangeProof
COND(true, s(s(s(y_1)))) → COND(and(even(s(y_1)), true), s(s(y_1)))
even(s(0)) → false
even(s(s(x))) → even(x)
even(0) → true
and(false, x) → false
and(true, true) → true
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
From the DPs we obtained the following set of size-change graphs: